package com.example.aoppreventingrepeatsubmissions.mapper;

import com.example.aoppreventingrepeatsubmissions.entity.People;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author: hyd
 * @time: 2024.7.9 23:00:00
 */

@Mapper
public interface SubmissionMapper {

    @Insert("INSERT INTO aop_submission (`name`, age) VALUES (#{name}, #{age})")
    void insert(@Param("name") String name, @Param("age") int age);

}
